package com.party.core.dao.write.article;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.article.ArticleMember;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by huangwuming
 * on 2018/6/13/013.
 */
@Repository
public interface ArticleMemberWriteDao extends BaseWriteDao<ArticleMember>{
    void deleteByUnique(@Param(value = "articleId") String articleId ,@Param(value = "memberId") String memberId);

    void deleteByArticleId(@Param(value = "articleId") String articleId);
}
